package com.qumoyugo.springframework.context.event;

import com.qumoyugo.springframework.context.ApplicationEvent;
import com.qumoyugo.springframework.context.ApplicationListener;

/**
 * @author Cedric
 * @date 2021/11/29 10:34
 * @description 事件广播器
 */
public interface ApplicationEventMulticaster {

    void addApplicationListener(ApplicationListener<?> listener);

    void removeApplicationListener(ApplicationListener<?> listener);

    void multicastEvent(ApplicationEvent event);
}
